using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.ModelConfiguration;

namespace ConsoleApplication2.Models.Mapping
{
    public class chartflgMap : EntityTypeConfiguration<chartflg>
    {
        public chartflgMap()
        {
            // Primary Key
            this.HasKey(t => t.id);

            // Properties
            // Table & Column Mappings
            this.ToTable("chartflg");
            this.Property(t => t.id).HasColumnName("id");
            this.Property(t => t.flag_c).HasColumnName("flag_c");
            this.Property(t => t.patient_id).HasColumnName("patient_id");
        }
    }
}
